/**
 * 
 */
package com.primestone.cim.util;

import java.util.Map;
import java.util.logging.Logger;

import com.google.gson.Gson;


/**
 * @author cesar.mateus
 * May 11, 2013 3:43:15 PM
 * JSONUtil.java
 * CIMUtil
 * 
 */
public class JSONUtil {
	
	private final static Logger LOGGER = Logger.getLogger(JSONUtil.class.getName());
	
	/**
	 * @param mapforJSon
	 * @return
	 */
	public static String getJSONFromMap(Map mapforJSon) {
		LOGGER.finest("---- map res:" +mapforJSon);
		return new Gson().toJson(mapforJSon);
		//LOGGER.finest("---- json res:" +json);	
	}
	
}
